package com.villaday.idf.model;

import java.util.List;

/**
 * Created by tudou on 2018/8/17.
 */

public class advertsEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : [{"endDateTime":1534675738527,"material":{"type":0,"url":"https://img.villaday.com/images/t9/261/261-294577.jpg?x-oss-process=image/resize,m_fill,w_750,h_500,limit_0/sharpen,100"},"startDateTime":1534502938527,"url":"https://www.villaday.com"}]
     */

    private String code;
    private String status;
    private String msg;
    private List<BodyEntity> body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<BodyEntity> getBody() {
        return body;
    }

    public void setBody(List<BodyEntity> body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * endDateTime : 1534675738527
         * material : {"type":0,"url":"https://img.villaday.com/images/t9/261/261-294577.jpg?x-oss-process=image/resize,m_fill,w_750,h_500,limit_0/sharpen,100"}
         * startDateTime : 1534502938527
         * url : https://www.villaday.com
         */

        private long endDateTime;
        private MaterialEntity material;
        private long startDateTime;
        private String url;

        public long getEndDateTime() {
            return endDateTime;
        }

        public void setEndDateTime(long endDateTime) {
            this.endDateTime = endDateTime;
        }

        public MaterialEntity getMaterial() {
            return material;
        }

        public void setMaterial(MaterialEntity material) {
            this.material = material;
        }

        public long getStartDateTime() {
            return startDateTime;
        }

        public void setStartDateTime(long startDateTime) {
            this.startDateTime = startDateTime;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public static class MaterialEntity {
            /**
             * type : 0
             * url : https://img.villaday.com/images/t9/261/261-294577.jpg?x-oss-process=image/resize,m_fill,w_750,h_500,limit_0/sharpen,100
             */

            private int type;
            private String url;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
